package com.vt.common.security.util.enums;

/**
 * 数据区隔类型
 */
public enum DataScopeType {

    PLATFORM_MANAGER(10, "管理平台"),
    COMPANY_MANAGER(20, "管理公司"),
    COMPANY_BRANCH(30, "分公司"),
    PEOPLE(100, "人");

    public final int code;
    public final String value;

    public int getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    DataScopeType(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
